package com.semidata.trp.decision.select;

import java.util.List;

import com.semidata.trp.decision.business.Material;
import com.semidata.trp.decision.business.Strategy;

public class SelectResult {

    private Strategy strategy;
    private List<Material> material;

    public SelectResult(Strategy strategy, List<Material> material) {
        this.strategy = strategy;
        this.material = material;
    }

    public Strategy getStrategy() {
        return strategy;
    }

    public List<Material> getMaterial() {
        return material;
    }
    
    /*public boolean equals(Object obj) {
        if (obj instanceof NewSelectResult)
            return material.getId() == ((NewSelectResult)obj).material.getId();
        return false;
    }
    
    public int hashCode() {
        return material.hashCode();
    }*/

}